package cn.edu.scau.cmi.luoxintai.adapterMethod;

public class ClassAdapter extends SortUtil implements Target{
	public void fastSort(Student[] array) {
		super.sortInt(array);
		for(int i=0;i<array.length;i++) {
		System.out.printf("%04d %s\n",i+1,array[i].id+" "+array[i].name);
		}
	}
}



//SortUtil sortU=new SortUtil();
//public ClassAdapter(Student[] array) {
//	sortU.sortInt(array);
//	for(int i=0;i<array.length;i++) {
//		System.out.printf("%04d %s\n",i+1,array[i].id+" "+array[i].name);
//	}
//}